package com.hyw.supply.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 供应商订单信息
 * </p>
 *
 * @author zzp
 * @since 2024-04-18
 */
@Getter
@Setter
public class SupplyOrderExcel implements Serializable {

    private static final long serialVersionUID = 1L;


    @ExcelProperty(value = "订单状态",index = 0)
    private String orderStatus;

    @ExcelProperty(value = "订单编号",index = 1)
    private String orderNo;

    @ExcelProperty(value = "订单类型",index = 2)
    private String orderType;

    @ExcelProperty(value = "订单金额",index = 3)
    private BigDecimal orderPrice;

    @ExcelProperty(value = "买家留言",index = 4)
    private String buyerMessage;

    @ExcelProperty(value= "项目名称",index = 5)
    private String itemName;

    @ExcelProperty(value = "下单时间 (格式：yyyy-MM-dd HH:mm:ss)",index = 6)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String placeOrderDate;

    @ExcelProperty(value = "支付时间 (格式：yyyy-MM-dd HH:mm:ss)",index = 7)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String payDate;

    @ExcelProperty(value = "完成时间 (格式：yyyy-MM-dd HH:mm:ss)",index = 8)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String completeDate;

    @ExcelProperty(value = "备货时间 (格式：yyyy-MM-dd HH:mm:ss)",index = 9)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String choiceDate;

    @ExcelProperty(value = "发货时间 (格式：yyyy-MM-dd HH:mm:ss)",index = 10)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String deliveryDate;


    @ExcelProperty("物流公司")
    private String expressCompany;

    @ExcelProperty("运单单号")
    private String expressOrderNo;

    @ExcelProperty("运费")
    private BigDecimal freightPrice;

    @ExcelProperty("收货人")
    private String receiver;

    @ExcelProperty("收货人手机号")
        private String receiverPhone;

    @ExcelProperty("收货人地址")
    private String receiverAddress;

    @ExcelProperty("发货时效（小时）")
    private Integer deliveryTime;

    @ExcelProperty("发货方式")
    private String deliveryMode;

    @ExcelProperty("商品名称")
    private String goodsName;

    @ExcelProperty("sku编码")
    private String skuCode;

    @ExcelProperty(value= "3c序列号")
    private String serialNumber;

    @ExcelProperty("商品规格")
    private String goodsSpecs;

    @ExcelProperty("商品单价")
    private BigDecimal goodsPrice;

    @ExcelProperty("商品数量")
    private Integer goodsNumber;

    @ExcelProperty("商品类型")
    private String goodsType;

    @ExcelProperty("售卖方式")
    private String sellingMode;

    @Schema(title = "enterprise", description = "企业主体")
    private String enterprise;

    @ExcelProperty("备注")
    private String remarks;

}
